package com.yunhe.sms.dao.activity;

import com.yunhe.commons.dto.Pageable;
import com.yunhe.sms.entity.activity.Vote;

/**
 * Created by Administrator on 2017/10/30 0030.
 */
public interface VoteDao {

    Long save(Vote vote);

    void update(Vote vote);

    void delete(Long id);

    Vote find(Long id);

    Pageable<Vote> findPage(Integer offset, Integer limit);
}
